home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 24
/
Amiga Format AFCD24 (Feb 1998, Issue 108).iso
/
-in_the_mag-
/
emulation
/
amiga
/
uae-0.7.0b2
/
src
/
od-beos
/
beos.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-01-20
|
1KB
|
78 lines
/*
* UAE - The Un*x Amiga Emulator
*
* BeOS port specific stuff
*
* (c) 1996-1997 Christian Bauer
* (c) 1996 Patrick Hanevold
*/
extern "C" {
#include "sysconfig.h"
#include "sysdeps.h"
#include "config.h"
#include "options.h"
#include "gui.h"
#include "threaddep/penguin.h"
#include "gensound.h"
#include "sounddep/sound.h"
#include "events.h"
#include "uae.h"
#include "memory.h"
#include "custom.h"
#include "readcpu.h"
#include "newcpu.h"
#include "disk.h"
#include "debug.h"
#include "xwin.h"
#include "joystick.h"
#include "target.h"
#include "keyboard.h"
#include "keybuf.h"
#include "gui.h"
#include "zfile.h"
#include "autoconf.h"
#include "osemu.h"
#include "osdep/exectasks.h"
#include "compiler.h"
}
class UAEWindow;
/*
* The BeOS application object
*/
class UAE : public BApplication {
public:
UAE();
virtual void ReadyToRun(void);
virtual bool QuitRequested(void);
virtual void AboutRequested(void);
virtual void RefsReceived(BMessage *msg);
int GraphicsInit(void);
void GraphicsLeave(void);
private:
static long thread_func(void *obj);
BBitmap *the_bitmap;
UAEWindow *main_window;
thread_id the_thread;
};
/*
* Global variables
*/
// Keyboard and mouse
int buttonstate[3];
int newmousecounters;
int lastmx, lastmy;
// Color map and bitmap
xcolnr xcolors[4096];